; Improve documentation of 'rmail-movemail-program'
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 13:45:57 +0000 (15:45 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 13:45:57 +0000 (15:45 +0200)
* lisp/mail/rmail.el (rmail-movemail-program):
* doc/emacs/rmail.texi (Movemail): Document how to change the
value of 'rmail-movemail-program' safely.  (Bug#76595)

doc/emacs/rmail.texi
lisp/mail/rmail.el

index 402386684ae5c82559d7688a9cc83a2b64401b02..229dc6e3e3397fe70137b92c34882b6e374146e7 100644 (file)
@@ -1527,7 +1527,10 @@ This is equivalent to specifying the @samp{file} protocol:
 absolute file name of the @command{movemail} executable.  If it is
 @code{nil}, Rmail searches for @command{movemail} in the directories
 listed in @code{rmail-movemail-search-path}, then in @code{exec-path}
-(@pxref{Shell}), then in @code{exec-directory}.
+(@pxref{Shell}), then in @code{exec-directory}.  This variable should be
+customized before starting Rmail; if you customize it after starting
+Rmail, you will need to set @code{rmail-movemail-variant-in-use} to the
+@code{nil} value, and then restart Rmail.
 
 @node Remote Mailboxes
 @section Retrieving Mail from Remote Mailboxes
index c9c8b0f298ef67cf28370110267d6e0c4211cd4f..41d177baf324de32bf311d295a39531ac5cefce3 100644 (file)
@@ -177,7 +177,10 @@ Its name should end with a slash."
   :group 'rmail)
 
 (defcustom rmail-movemail-program nil
-  "If non-nil, the file name of the `movemail' program."
+  "If non-nil, the file name of the `movemail' program.
+If you customize this after starting Rmail, reset the
+variable `rmail-movemail-variant-in-use' to the nil value,
+and then restart Rmail."
   :group 'rmail-retrieve
   :type '(choice (const nil) string))